package com.hck.api.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 用户信息DTO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "用户信息")
public class UserInfoDTO {
    
    @Schema(description = "用户ID")
    private Long userId;
    
    @Schema(description = "用户名")
    private String username;
    
    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "身份证号码")
    private String idCard;
    
    @Schema(description = "手机号")
    private String phone;
    
    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "性别")
    private Integer gender;

    @Schema(description = "出生日期")
    private Date birthDate;

    @Schema(description = "状态：0-禁用，1-正常")
    private Integer status;

    @Schema(description = "住址")
    private String address;

    @Schema(description = "紧急联系人")
    private String emergencyContact;

    @Schema(description = "紧急联系电话")
    private String emergencyPhone;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "最后登录时间")
    private Date lastLoginTime;
    
    @Schema(description = "创建时间")
    private Date createTime;

    public String getAvatar() { return avatar; }
    public void setAvatar(String avatar) { this.avatar = avatar; }
} 